<table class="table table-condensed table-hover">
    <thead>
        <tr id="head-actions">

            <td colspan="7" style="background-color: #ddd;">
                <a href="form.do" class="btn btn-primary active" onclick="return $(this).ajaxLoad();">新建</a>
                <div class="btn-group">
                    <!--<button class="btn btn-primary ">其他操作</button>-->
                    <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
                    <ul class="dropdown-menu">
                        <li><a href="#">删除</a></li>
                    </ul>
                </div>
                <span class="help-inline pull-right">
                    <input type="text" class="search-query input-mini" style="width: 12px" value="${pager.currentPage!}"/>
                    <span class="help-inline"><b>/ ${pager.totalPage!}</b></span>
                    <!--:if (pager.prePage > 0) {-->
                    <a href="index.do?p=${pager.prePage!}" class="btn btn-mini">上一页</a>
                    <!--:} else {-->
                    <a class="btn btn-mini disabled">上一页</a>
                    <!--:}-->
                    <!--:if (pager.nextPage > 0) {-->
                    <a href="index.do?p=${pager.nextPage!}" class="btn btn-mini">下一页</a>
                    <!--:} else {-->
                    <a class="btn btn-mini disabled">下一页</a>
                    <!--:}-->
                    <button class="btn btn-mini btn-link" type="submit">跳转</button>
                </span>
            </td>                    

        </tr>
        <tr id="head-titles">
            <th class="span1"><label class="checkbox"><input type="checkbox"><span class="metro-checkbox"></span></label></th>
            <th class="span1">编码<br/>Code</th>
            <th>名称<br/>Name</th>
            <th>中文名称<br/>Chinese Name</th>
            <th class="align-right span2">单位<br/>Unit</th>
            <th class="align-right span2">成本<br/>Cost</th>
            <th class="align-right span2">报价<br/>Quoted price</th>
        </tr>
    </thead>
    <tfoot>
        <tr id="foot-actions">
            <td colspan="7" style="background-color: #ddd;">
                <a href="form.do" class="btn btn-primary active" onclick="return $(this).ajaxLoad();">新建</a>
                <div class="btn-group">
                    <!--<button class="btn btn-primary ">其他操作</button>-->
                    <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
                    <ul class="dropdown-menu">
                        <li><a href="#">删除</a></li>
                    </ul>
                </div>
                <span class="help-inline pull-right">
                    <input type="text" class="search-query input-mini" style="width: 12px" value="${pager.currentPage!}"/>
                    <span class="help-inline"><b>/ ${pager.totalPage!}</b></span>
                    <!--:if (pager.prePage > 0) {-->
                    <a href="index.do?p=${pager.prePage!}" class="btn btn-mini">上一页</a>
                    <!--:} else {-->
                    <a class="btn btn-mini disabled">上一页</a>
                    <!--:}-->
                    <!--:if (pager.nextPage > 0) {-->
                    <a href="index.do?p=${pager.nextPage!}" class="btn btn-mini">下一页</a>
                    <!--:} else {-->
                    <a class="btn btn-mini disabled">下一页</a>
                    <!--:}-->
                    <button class="btn btn-mini btn-link" type="submit">跳转</button>
                </span>
            </td>
        </tr>
    </tfoot>
    <tbody>
        <!--:for (impa in pager.list!) {-->
        <tr>
            <td>
                <label class="checkbox">
                    <input type="checkbox"><span class="metro-checkbox"></span>
                </label>
            </td>
            <td><a href="item.do?id=${impa.id}" onclick="return $(this).ajaxLoad();">${impa.code!}</td>
            <td>${impa.name!}</td>
            <td>${impa.mingcheng!}</td>
            <td class="align-right">${impa.unit!}</td>
            <td class="align-right">${impa.chengben!}</td>
            <td class="align-right">${impa.baojia!}</td>
        </tr>
        <!--:}-->
    </tbody>
</table>
